/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: Faculty of informatics, Burapha University 01
 * License Type: Purchased
 */
package cn.imvc.app.entities;

import java.io.Serializable;
import javax.persistence.*;
@Entity
@org.hibernate.annotations.Proxy(lazy=false)
@Table(name="goods")
public class Goods implements Serializable {
	public Goods() {
	}
	
	private int id;
	
	private String title;
	
	private String detail;
	
	private cn.imvc.app.entities.Seller seller;
	
	private String name;
	
	private cn.imvc.app.entities.Storage storage;
	
	private cn.imvc.app.entities.GoodsClass goodsClass;
	
	private Integer inventory;
	
	private Integer click;
	
	private Integer salenum;
	
	private Integer collect;
	
	private String image;
	
	private Byte state;
	
	private Byte verify;
	
	private java.util.Date addTime;
	
	private java.util.Date sellTime;
	
	private java.util.Date editTime;
	
	private Byte isFreight;
	
	private Integer evaluationCount;
	
	private Byte isVirtual;
	
	private String verifyRemark;
	
	@Version	
	private Integer version;
	
	private cn.imvc.app.entities.Brand brand;
	
	private Integer weight;
	
	private String sn;
	
	private Integer price;
	
	private String attrStr;
	
	private String typeStr;
	
	private String classStr;
	
	private Integer points;
	
	private Integer price2;
	
	private java.util.Set goodsOrder = new java.util.HashSet();
	
	private java.util.Set goodsSku = new java.util.HashSet();
	
	private java.util.Set cart = new java.util.HashSet();
	
	private java.util.Set favorites = new java.util.HashSet();
	
	private java.util.Set goodsTypeValue = new java.util.HashSet();
	
	private java.util.Set goodsReviews = new java.util.HashSet();
	
	private java.util.Set goodsSpec = new java.util.HashSet();
	
	private java.util.Set goodsPrice = new java.util.HashSet();
	
	private java.util.Set goodsImage = new java.util.HashSet();
	
	private java.util.Set comments = new java.util.HashSet();
	
	private java.util.Set inventoryFlow = new java.util.HashSet();
	
	private cn.imvc.app.entities.GoodsLimitTime goodsLimitTime;
	
	private cn.imvc.app.entities.GoodsCountry goodsCountry;
	
	public void setId(int value) {
		this.id = value;
	}
	
	@Column(name="id", nullable=false)	
	@Id	
	@GeneratedValue(generator="CN_IMVC_APP_ENTITIES_GOODS_ID_GENERATOR")	
	@org.hibernate.annotations.GenericGenerator(name="CN_IMVC_APP_ENTITIES_GOODS_ID_GENERATOR", strategy="identity")	
	public int getId() {
		return id;
	}
	
	@Transient	
	public int getORMID() {
		return getId();
	}
	
	/**
	 * 商品名称
	 */
	public void setName(String value) {
		this.name = value;
	}
	
	/**
	 * 商品名称
	 */
	@Column(name="name", nullable=true, length=255)	
	public String getName() {
		return name;
	}
	
	/**
	 * 显示标题
	 */
	public void setTitle(String value) {
		this.title = value;
	}
	
	/**
	 * 显示标题
	 */
	@Column(name="title", nullable=true, length=255)	
	public String getTitle() {
		return title;
	}
	
	/**
	 * 商品详细
	 */
	public void setDetail(String value) {
		this.detail = value;
	}
	
	/**
	 * 商品详细
	 */
	@Column(name="detail", nullable=true)	
	public String getDetail() {
		return detail;
	}
	
	/**
	 * 总库存
	 */
	public void setInventory(int value) {
		setInventory(new Integer(value));
	}
	
	/**
	 * 总库存
	 */
	public void setInventory(Integer value) {
		this.inventory = value;
	}
	
	/**
	 * 总库存
	 */
	@Column(name="inventory", nullable=true, length=10)	
	public Integer getInventory() {
		return inventory;
	}
	
	/**
	 * 点击次数
	 */
	public void setClick(int value) {
		setClick(new Integer(value));
	}
	
	/**
	 * 点击次数
	 */
	public void setClick(Integer value) {
		this.click = value;
	}
	
	/**
	 * 点击次数
	 */
	@Column(name="click", nullable=true, length=10)	
	public Integer getClick() {
		return click;
	}
	
	/**
	 * 销售数量
	 */
	public void setSalenum(int value) {
		setSalenum(new Integer(value));
	}
	
	/**
	 * 销售数量
	 */
	public void setSalenum(Integer value) {
		this.salenum = value;
	}
	
	/**
	 * 销售数量
	 */
	@Column(name="salenum", nullable=true, length=10)	
	public Integer getSalenum() {
		return salenum;
	}
	
	/**
	 * 收藏数量
	 */
	public void setCollect(int value) {
		setCollect(new Integer(value));
	}
	
	/**
	 * 收藏数量
	 */
	public void setCollect(Integer value) {
		this.collect = value;
	}
	
	/**
	 * 收藏数量
	 */
	@Column(name="collect", nullable=true, length=10)	
	public Integer getCollect() {
		return collect;
	}
	
	/**
	 * 商品主图片
	 */
	public void setImage(String value) {
		this.image = value;
	}
	
	/**
	 * 商品主图片
	 */
	@Column(name="image", nullable=true, length=255)	
	public String getImage() {
		return image;
	}
	
	/**
	 * 商品状态 0下架，1正常
	 */
	public void setState(byte value) {
		setState(new Byte(value));
	}
	
	/**
	 * 商品状态 0下架，1正常
	 */
	public void setState(Byte value) {
		this.state = value;
	}
	
	/**
	 * 商品状态 0下架，1正常
	 */
	@Column(name="state", nullable=true)	
	public Byte getState() {
		return state;
	}
	
	/**
	 * 商品审核 1通过，0未通过，10审核中
	 */
	public void setVerify(byte value) {
		setVerify(new Byte(value));
	}
	
	/**
	 * 商品审核 1通过，0未通过，10审核中
	 */
	public void setVerify(Byte value) {
		this.verify = value;
	}
	
	/**
	 * 商品审核 1通过，0未通过，10审核中
	 */
	@Column(name="verify", nullable=true)	
	public Byte getVerify() {
		return verify;
	}
	
	/**
	 * 商品添加时间
	 */
	public void setAddTime(java.util.Date value) {
		this.addTime = value;
	}
	
	/**
	 * 商品添加时间
	 */
	@Column(name="addTime", nullable=true)	
	@Temporal(TemporalType.TIMESTAMP)	
	public java.util.Date getAddTime() {
		return addTime;
	}
	
	/**
	 * 上架时间
	 */
	public void setSellTime(java.util.Date value) {
		this.sellTime = value;
	}
	
	/**
	 * 上架时间
	 */
	@Column(name="sellTime", nullable=true)	
	@Temporal(TemporalType.TIMESTAMP)	
	public java.util.Date getSellTime() {
		return sellTime;
	}
	
	/**
	 * 商品编辑时间
	 */
	public void setEditTime(java.util.Date value) {
		this.editTime = value;
	}
	
	/**
	 * 商品编辑时间
	 */
	@Column(name="editTime", nullable=true)	
	@Temporal(TemporalType.TIMESTAMP)	
	public java.util.Date getEditTime() {
		return editTime;
	}
	
	/**
	 *  0免运费，1正常
	 */
	public void setIsFreight(byte value) {
		setIsFreight(new Byte(value));
	}
	
	/**
	 *  0免运费，1正常
	 */
	public void setIsFreight(Byte value) {
		this.isFreight = value;
	}
	
	/**
	 *  0免运费，1正常
	 */
	@Column(name="isFreight", nullable=true)	
	public Byte getIsFreight() {
		return isFreight;
	}
	
	/**
	 * 评价数
	 */
	public void setEvaluationCount(int value) {
		setEvaluationCount(new Integer(value));
	}
	
	/**
	 * 评价数
	 */
	public void setEvaluationCount(Integer value) {
		this.evaluationCount = value;
	}
	
	/**
	 * 评价数
	 */
	@Column(name="evaluationCount", nullable=true, length=10)	
	public Integer getEvaluationCount() {
		return evaluationCount;
	}
	
	/**
	 * 是否为虚拟商品 1是 0否
	 */
	public void setIsVirtual(byte value) {
		setIsVirtual(new Byte(value));
	}
	
	/**
	 * 是否为虚拟商品 1是 0否
	 */
	public void setIsVirtual(Byte value) {
		this.isVirtual = value;
	}
	
	/**
	 * 是否为虚拟商品 1是 0否
	 */
	@Column(name="isVirtual", nullable=true)	
	public Byte getIsVirtual() {
		return isVirtual;
	}
	
	/**
	 * 审核备注
	 */
	public void setVerifyRemark(String value) {
		this.verifyRemark = value;
	}
	
	/**
	 * 审核备注
	 */
	@Column(name="verifyRemark", nullable=true, length=255)	
	public String getVerifyRemark() {
		return verifyRemark;
	}
	
	/**
	 * 版本号
	 */
	public void setVersion(int value) {
		setVersion(new Integer(value));
	}
	
	/**
	 * 版本号
	 */
	public void setVersion(Integer value) {
		this.version = value;
	}
	
	/**
	 * 版本号
	 */
	@Column(name="version", nullable=true, length=10)	
	@Version	
	public Integer getVersion() {
		return version;
	}
	
	public void setWeight(int value) {
		setWeight(new Integer(value));
	}
	
	public void setWeight(Integer value) {
		this.weight = value;
	}
	
	@Column(name="weight", nullable=true, length=10)	
	public Integer getWeight() {
		return weight;
	}
	
	public void setSn(String value) {
		this.sn = value;
	}
	
	@Column(name="sn", nullable=true, length=255)	
	public String getSn() {
		return sn;
	}
	
	public void setPrice(int value) {
		setPrice(new Integer(value));
	}
	
	public void setPrice(Integer value) {
		this.price = value;
	}
	
	@Column(name="price", nullable=true, length=10)	
	public Integer getPrice() {
		return price;
	}
	
	public void setAttrStr(String value) {
		this.attrStr = value;
	}
	
	@Column(name="attrStr", nullable=true, length=500)	
	public String getAttrStr() {
		return attrStr;
	}
	
	public void setTypeStr(String value) {
		this.typeStr = value;
	}
	
	@Column(name="typeStr", nullable=true, length=500)	
	public String getTypeStr() {
		return typeStr;
	}
	
	public void setClassStr(String value) {
		this.classStr = value;
	}
	
	@Column(name="classStr", nullable=true, length=500)	
	public String getClassStr() {
		return classStr;
	}
	
	public void setPoints(int value) {
		setPoints(new Integer(value));
	}
	
	public void setPoints(Integer value) {
		this.points = value;
	}
	
	@Column(name="points", nullable=true, length=10)	
	public Integer getPoints() {
		return points;
	}
	
	public void setPrice2(int value) {
		setPrice2(new Integer(value));
	}
	
	public void setPrice2(Integer value) {
		this.price2 = value;
	}
	
	@Column(name="price2", nullable=true, length=10)	
	public Integer getPrice2() {
		return price2;
	}
	
	public void setSeller(cn.imvc.app.entities.Seller value) {
		this.seller = value;
	}
	
	@ManyToOne(targetEntity=cn.imvc.app.entities.Seller.class, fetch=FetchType.LAZY)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.LOCK})	
	@JoinColumns({ @JoinColumn(name="sellerId", referencedColumnName="id", nullable=false) })	
	@org.hibernate.annotations.LazyToOne(value=org.hibernate.annotations.LazyToOneOption.NO_PROXY)	
	public cn.imvc.app.entities.Seller getSeller() {
		return seller;
	}
	
	public void setStorage(cn.imvc.app.entities.Storage value) {
		this.storage = value;
	}
	
	@ManyToOne(targetEntity=cn.imvc.app.entities.Storage.class, fetch=FetchType.LAZY)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.LOCK})	
	@JoinColumns({ @JoinColumn(name="storageId", referencedColumnName="id", nullable=false) })	
	@org.hibernate.annotations.LazyToOne(value=org.hibernate.annotations.LazyToOneOption.NO_PROXY)	
	public cn.imvc.app.entities.Storage getStorage() {
		return storage;
	}
	
	public void setGoodsClass(cn.imvc.app.entities.GoodsClass value) {
		this.goodsClass = value;
	}
	
	@ManyToOne(targetEntity=cn.imvc.app.entities.GoodsClass.class, fetch=FetchType.LAZY)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.LOCK})	
	@JoinColumns({ @JoinColumn(name="goodsClassId", referencedColumnName="id", nullable=false) })	
	@org.hibernate.annotations.LazyToOne(value=org.hibernate.annotations.LazyToOneOption.NO_PROXY)	
	public cn.imvc.app.entities.GoodsClass getGoodsClass() {
		return goodsClass;
	}
	
	public void setBrand(cn.imvc.app.entities.Brand value) {
		this.brand = value;
	}
	
	@ManyToOne(targetEntity=cn.imvc.app.entities.Brand.class, fetch=FetchType.LAZY)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.LOCK})	
	@JoinColumns({ @JoinColumn(name="brandId", referencedColumnName="id") })	
	@org.hibernate.annotations.LazyToOne(value=org.hibernate.annotations.LazyToOneOption.NO_PROXY)	
	public cn.imvc.app.entities.Brand getBrand() {
		return brand;
	}
	
	public void setGoodsOrder(java.util.Set value) {
		this.goodsOrder = value;
	}
	
	@OneToMany(mappedBy="goods", targetEntity=cn.imvc.app.entities.GoodsOrder.class)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.LOCK})	
	@org.hibernate.annotations.LazyCollection(org.hibernate.annotations.LazyCollectionOption.TRUE)	
	public java.util.Set getGoodsOrder() {
		return goodsOrder;
	}
	
	
	public void setGoodsSku(java.util.Set value) {
		this.goodsSku = value;
	}
	
	@OneToMany(mappedBy="goods", targetEntity=cn.imvc.app.entities.GoodsSku.class)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.LOCK})	
	@org.hibernate.annotations.LazyCollection(org.hibernate.annotations.LazyCollectionOption.TRUE)	
	public java.util.Set getGoodsSku() {
		return goodsSku;
	}
	
	
	public void setCart(java.util.Set value) {
		this.cart = value;
	}
	
	@OneToMany(mappedBy="goods", targetEntity=cn.imvc.app.entities.Cart.class)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.LOCK})	
	@org.hibernate.annotations.LazyCollection(org.hibernate.annotations.LazyCollectionOption.TRUE)	
	public java.util.Set getCart() {
		return cart;
	}
	
	
	public void setFavorites(java.util.Set value) {
		this.favorites = value;
	}
	
	@OneToMany(mappedBy="goods", targetEntity=cn.imvc.app.entities.Favorites.class)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.LOCK})	
	@org.hibernate.annotations.LazyCollection(org.hibernate.annotations.LazyCollectionOption.TRUE)	
	public java.util.Set getFavorites() {
		return favorites;
	}
	
	
	public void setGoodsTypeValue(java.util.Set value) {
		this.goodsTypeValue = value;
	}
	
	@OneToMany(mappedBy="goods", targetEntity=cn.imvc.app.entities.GoodsTypeValue.class)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.LOCK})	
	@org.hibernate.annotations.LazyCollection(org.hibernate.annotations.LazyCollectionOption.TRUE)	
	public java.util.Set getGoodsTypeValue() {
		return goodsTypeValue;
	}
	
	
	public void setGoodsReviews(java.util.Set value) {
		this.goodsReviews = value;
	}
	
	@OneToMany(mappedBy="goods", targetEntity=cn.imvc.app.entities.GoodsReviews.class)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.LOCK})	
	@org.hibernate.annotations.LazyCollection(org.hibernate.annotations.LazyCollectionOption.TRUE)	
	public java.util.Set getGoodsReviews() {
		return goodsReviews;
	}
	
	
	public void setGoodsSpec(java.util.Set value) {
		this.goodsSpec = value;
	}
	
	@OneToMany(mappedBy="goods", targetEntity=cn.imvc.app.entities.GoodsSpec.class)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.LOCK})	
	@OrderBy(value="id")	
	@org.hibernate.annotations.LazyCollection(org.hibernate.annotations.LazyCollectionOption.TRUE)	
	public java.util.Set getGoodsSpec() {
		return goodsSpec;
	}
	
	
	public void setGoodsPrice(java.util.Set value) {
		this.goodsPrice = value;
	}
	
	@OneToMany(mappedBy="goods", targetEntity=cn.imvc.app.entities.GoodsPrice.class)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.LOCK})	
	@org.hibernate.annotations.LazyCollection(org.hibernate.annotations.LazyCollectionOption.TRUE)	
	public java.util.Set getGoodsPrice() {
		return goodsPrice;
	}
	
	
	public void setGoodsImage(java.util.Set value) {
		this.goodsImage = value;
	}
	
	@OneToMany(mappedBy="goods", targetEntity=cn.imvc.app.entities.GoodsImage.class)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.LOCK})	
	@org.hibernate.annotations.LazyCollection(org.hibernate.annotations.LazyCollectionOption.TRUE)	
	public java.util.Set getGoodsImage() {
		return goodsImage;
	}
	
	
	public void setComments(java.util.Set value) {
		this.comments = value;
	}
	
	@OneToMany(mappedBy="goods", targetEntity=cn.imvc.app.entities.Comments.class)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.LOCK})	
	@org.hibernate.annotations.LazyCollection(org.hibernate.annotations.LazyCollectionOption.TRUE)	
	public java.util.Set getComments() {
		return comments;
	}
	
	
	public void setInventoryFlow(java.util.Set value) {
		this.inventoryFlow = value;
	}
	
	@OneToMany(mappedBy="goods", targetEntity=cn.imvc.app.entities.InventoryFlow.class)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.LOCK})	
	@org.hibernate.annotations.LazyCollection(org.hibernate.annotations.LazyCollectionOption.TRUE)	
	public java.util.Set getInventoryFlow() {
		return inventoryFlow;
	}
	
	
	public void setGoodsLimitTime(cn.imvc.app.entities.GoodsLimitTime value) {
		this.goodsLimitTime = value;
	}
	
	@OneToOne(mappedBy="goods", targetEntity=cn.imvc.app.entities.GoodsLimitTime.class, fetch=FetchType.LAZY)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.LOCK})	
	@org.hibernate.annotations.LazyToOne(value=org.hibernate.annotations.LazyToOneOption.NO_PROXY)	
	public cn.imvc.app.entities.GoodsLimitTime getGoodsLimitTime() {
		return goodsLimitTime;
	}
	
	public void setGoodsCountry(cn.imvc.app.entities.GoodsCountry value) {
		this.goodsCountry = value;
	}
	
	@OneToOne(mappedBy="goods", targetEntity=cn.imvc.app.entities.GoodsCountry.class, fetch=FetchType.LAZY)	
	@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.LOCK})	
	@org.hibernate.annotations.LazyToOne(value=org.hibernate.annotations.LazyToOneOption.NO_PROXY)	
	public cn.imvc.app.entities.GoodsCountry getGoodsCountry() {
		return goodsCountry;
	}
	
	public String toString() {
		return toString(false);
	}
	
	public String toString(boolean idOnly) {
		if (idOnly) {
			return String.valueOf(getId());
		}
		else {
			StringBuffer sb = new StringBuffer();
			sb.append("Goods[ ");
			sb.append("Id=").append(getId()).append(" ");
			sb.append("Title=").append(getTitle()).append(" ");
			sb.append("Detail=").append(getDetail()).append(" ");
			if (getSeller() != null)
				sb.append("Seller.Persist_ID=").append(getSeller().toString(true)).append(" ");
			else
				sb.append("Seller=null ");
			sb.append("Name=").append(getName()).append(" ");
			if (getStorage() != null)
				sb.append("Storage.Persist_ID=").append(getStorage().toString(true)).append(" ");
			else
				sb.append("Storage=null ");
			if (getGoodsClass() != null)
				sb.append("GoodsClass.Persist_ID=").append(getGoodsClass().toString(true)).append(" ");
			else
				sb.append("GoodsClass=null ");
			sb.append("Inventory=").append(getInventory()).append(" ");
			sb.append("Click=").append(getClick()).append(" ");
			sb.append("Salenum=").append(getSalenum()).append(" ");
			sb.append("Collect=").append(getCollect()).append(" ");
			sb.append("Image=").append(getImage()).append(" ");
			sb.append("State=").append(getState()).append(" ");
			sb.append("Verify=").append(getVerify()).append(" ");
			sb.append("AddTime=").append(getAddTime()).append(" ");
			sb.append("SellTime=").append(getSellTime()).append(" ");
			sb.append("EditTime=").append(getEditTime()).append(" ");
			sb.append("IsFreight=").append(getIsFreight()).append(" ");
			sb.append("EvaluationCount=").append(getEvaluationCount()).append(" ");
			sb.append("IsVirtual=").append(getIsVirtual()).append(" ");
			sb.append("VerifyRemark=").append(getVerifyRemark()).append(" ");
			sb.append("Version=").append(getVersion()).append(" ");
			if (getBrand() != null)
				sb.append("Brand.Persist_ID=").append(getBrand().toString(true)).append(" ");
			else
				sb.append("Brand=null ");
			sb.append("Weight=").append(getWeight()).append(" ");
			sb.append("Sn=").append(getSn()).append(" ");
			sb.append("Price=").append(getPrice()).append(" ");
			sb.append("AttrStr=").append(getAttrStr()).append(" ");
			sb.append("TypeStr=").append(getTypeStr()).append(" ");
			sb.append("ClassStr=").append(getClassStr()).append(" ");
			sb.append("Points=").append(getPoints()).append(" ");
			sb.append("Price2=").append(getPrice2()).append(" ");
			sb.append("GoodsOrder.size=").append(getGoodsOrder().size()).append(" ");
			sb.append("GoodsSku.size=").append(getGoodsSku().size()).append(" ");
			sb.append("Cart.size=").append(getCart().size()).append(" ");
			sb.append("Favorites.size=").append(getFavorites().size()).append(" ");
			sb.append("GoodsTypeValue.size=").append(getGoodsTypeValue().size()).append(" ");
			sb.append("GoodsReviews.size=").append(getGoodsReviews().size()).append(" ");
			sb.append("GoodsSpec.size=").append(getGoodsSpec().size()).append(" ");
			sb.append("GoodsPrice.size=").append(getGoodsPrice().size()).append(" ");
			sb.append("GoodsImage.size=").append(getGoodsImage().size()).append(" ");
			sb.append("Comments.size=").append(getComments().size()).append(" ");
			sb.append("InventoryFlow.size=").append(getInventoryFlow().size()).append(" ");
			if (getGoodsLimitTime() != null)
				sb.append("GoodsLimitTime.Persist_ID=").append(getGoodsLimitTime().toString(true)).append(" ");
			else
				sb.append("GoodsLimitTime=null ");
			if (getGoodsCountry() != null)
				sb.append("GoodsCountry.Persist_ID=").append(getGoodsCountry().toString(true)).append(" ");
			else
				sb.append("GoodsCountry=null ");
			sb.append("]");
			return sb.toString();
		}
	}
	
}
